import { createRouter, createWebHistory } from 'vue-router'
import xz from'@/xz.vue'//引入文件
import time from'@/time.vue'//引入文件
const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/xz',
            name: 'xz',
            component: xz,
        },
        {
            path:'/time',
            name:'time',
            component: time,
        }
        //创建两个路由，其中包括path name component
    ],
})

export default router
